import requests

response = requests.get('http://192.168.0.100/index.php?m=Home&c=User&a=verify')
phpid = response.cookies.get('PHPSESSID')
print(phpid)
urlA = 'http://192.168.0.100/index.php?m=Home&c=User&a=do_login'
login_data = {"username": "13141415177", "password": "123456", "verify_code": "8888"}
cs = {"PHPSESSID": phpid}
result = requests.post(url=urlA, data=login_data, cookies=cs)
print(result.json())
rs = requests.get('http://192.168.0.100/Home/Order/order_list', cookies=cs)
print(rs.text)
